angular.module('main', [])
    .controller('mainCtrl', function ($rootScope, $scope) {
        $rootScope.all_class = {
            header: {
                bg: [
                    'bg-white-only',//music_information
                    'bg-white-only',//music_type
                    'bg-black lter',//music_listen
                    'bg-white-only',//video_index
                ],
                icon_bg: [
                    'bg-info',//music_information
                    'bg-info dk',//music_type
                    'bg-success',//music_listen
                    'bg-info dk',//video_index
                ]
            },
            nav: [
                'bg-black dk',//music_information
                'bg-dark dk',//music_type
                'bg-black dk',//music_listen
                'bg-black dk',//video_index
            ],
            music_player: [
                'bg-dark',//music_information
                'bg-info dker',//music_type
                'bg-success dker',//music_listen
                'hidden',//video_index
            ]
        };
        $rootScope.current_class = 0;
        $rootScope.changeCurrentClass = function (index) {
            $rootScope.current_class = index;
        }
    });